package com.ruoyi.system.constants;

public class WXPayConstants {
    /** 统一下单接口 */
    public static final String UNIFIEDORDER_URL = "https://api.mch.weixin.qq.com/pay/unifiedorder";
    
    /** 查询订单接口 */
    public static final String ORDERQUERY_URL = "https://api.mch.weixin.qq.com/pay/orderquery";
    
    /** 关闭订单接口 */
    public static final String CLOSEORDER_URL = "https://api.mch.weixin.qq.com/pay/closeorder";
    
    /** 申请退款接口 */
    public static final String REFUND_URL = "https://api.mch.weixin.qq.com/secapi/pay/refund";
    
    /** 查询退款接口 */
    public static final String REFUNDQUERY_URL = "https://api.mch.weixin.qq.com/pay/refundquery";
    
    /** 下载对账单接口 */
    public static final String DOWNLOADBILL_URL = "https://api.mch.weixin.qq.com/pay/downloadbill";
    
    /** 交易类型：小程序支付 */
    public static final String TRADE_TYPE_JSAPI = "JSAPI";
    
    /** 签名类型 */
    public static final String SIGN_TYPE_MD5 = "MD5";
    public static final String SIGN_TYPE_HMAC_SHA256 = "HMAC-SHA256";
    
    /** 字符编码 */
    public static final String CHARSET_UTF8 = "UTF-8";
} 